package com.hn.birthdaymatch.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "生日信息实体")
@TableName("birthday")
public class Birthday {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    @TableField("real_name")
    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @TableField("year")
    @ApiModelProperty(value = "年")
    private String year;

    @TableField("month")
    @ApiModelProperty(value = "月")
    private String month;

    @TableField("day")
    @ApiModelProperty(value = "日")
    private String day;

    @TableField("dy_account")
    @ApiModelProperty(value = "抖音账号")
    private String dyAccount;

    @TableField("status")
    @ApiModelProperty(value = "状态  0启用   1禁用  -1 删除")
    private Integer status;

    @TableField("uni_identification")
    @ApiModelProperty(value = "唯一标识（加密）")
    private String uniIdentification;

    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField("update_time")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
